<script setup lang="ts">
import { ref } from 'vue'

const c = ref(0)
</script>
<template>
  <div class="test">
    <span>index {{ c }}</span>
    <button @click="c++">加</button>
  </div>
</template>
<style scoped>
.test {
  width: 100%;
  text-align: center;
  height: 100%;
  /* line-height: 100%; */
  background: yellowgreen;
}
</style>
